﻿import request from '/@/utils/request';
enum Api {
  AddKerryplususerinfo = '/api/kerryplususerinfo/add',
  DeleteKerryplususerinfo = '/api/kerryplususerinfo/delete',
  UpdateKerryplususerinfo = '/api/kerryplususerinfo/update',
  PageKerryplususerinfo = '/api/kerryplususerinfo/page',
  DetailKerryplususerinfo = '/api/kerryplususerinfo/detail',
}

// 增加用户信息
export const addKerryplususerinfo = (params?: any) =>
	request({
		url: Api.AddKerryplususerinfo,
		method: 'post',
		data: params,
	});

// 删除用户信息
export const deleteKerryplususerinfo = (params?: any) => 
	request({
			url: Api.DeleteKerryplususerinfo,
			method: 'post',
			data: params,
		});

// 编辑用户信息
export const updateKerryplususerinfo = (params?: any) => 
	request({
			url: Api.UpdateKerryplususerinfo,
			method: 'post',
			data: params,
		});

// 分页查询用户信息
export const pageKerryplususerinfo = (params?: any) => 
	request({
			url: Api.PageKerryplususerinfo,
			method: 'post',
			data: params,
		});

// 详情用户信息
export const detailKerryplususerinfo = (id: any) => 
	request({
			url: Api.DetailKerryplususerinfo,
			method: 'get',
			data: { id },
		});


